import { requestClient } from '#/api/request';

// 获取
export const queryGet = (params: any) =>
  requestClient.get('/company/get', { params });

// 更新
export const queryUpdate = (params: any) =>
  requestClient.post('/company/edit', params);

// 获取
export const queryCommonGet = (params: any) =>
  requestClient.get('/config/getCommonConfig', { params });

// 更新
export const queryCommonUpdate = (params: any) =>
  requestClient.post('/config/commonConfigSave', params);
